* {
  margin: 0;
  padding: 0;
  font-size: 13px;
  box-sizing: border-box;
}
.renderContent {
  width: 100vw;
  height: 100vh;
  display: flex;
  padding: 10px 16px;
  justify-content: space-between;
}

/**
* 左侧展示目录区域
*/
.renderContent .fileContent {
  width: 400px;
  height: 100%;
  border-radius: 4px;
  margin-right: 10px;
}

.renderContent .fileContent .uploadBtn{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.renderContent .fileContent .uploadFileList{
  width: 100%;
  height: calc(100% - 140px);
  margin-top: 10px;
  overflow-y: auto;
  padding: 10px 0px;
}

.renderContent .fileContent .uploadFileList .injected-svg{
  width: 250px;
  height: 310px;
  margin-left: 65px;
}

.renderContent .fileContent .uploadFileList .notData{
  text-align: center;
}

.renderContent .fileContent .uploadFileList .line{
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 5px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.renderContent .fileContent .uploadFileList .active{
  background-color: #000000;
  color: white;
}

.renderContent .fileContent .uploadFileList .line .text{
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.renderContent .fileContent .uploadFileList .line .reload{
  margin-left: 10px;
  padding: 5px 10px;
}
.renderContent .fileContent .uploadFileList .line .reload:hover{
  color: red;
}

/**
* 右侧展示渲染区域
*/
.renderContent .pageJsonPreview {
  width: calc(100% - 410px);
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.renderContent .pageJsonPreview .tips {
  width: 100%;
  padding: 10px 15px;
  color: red;
  margin-bottom: 10px;
}

.renderContent .pageJsonPreview .tips .text{
  letter-spacing: 3px;
  margin-bottom: 5px;
}

.renderContent .pageJsonPreview .title {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.renderContent .pageJsonPreview .pageJsonPre{
  width: 100%;
  height: calc(100% - 205px);
  background-color: #24233b;
  border-radius: 4px;
}

/**
 * 渲染区域 生成代码区域
 */
.lowCodeCard {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  transition: 0.5s;
}

.lowCodeCard .top {
  display: flex;
  align-items: center;
  padding: 0px 10px;
  margin: 10px 0px;
}

.lowCodeCard .circle {
  padding: 0 4px;
}

.lowCodeCard .codeTitle{
  text-align: right;
}

.lowCodeCard .circle2 {
  display: inline-block;
  align-items: center;
  width: 10px;
  height: 10px;
  padding: 1px;
  border-radius: 5px;
}

.lowCodeCard .red {
  background-color: #ff605c;
}

.lowCodeCard .yellow {
  background-color: #ffbd44;
}

.lowCodeCard .green {
  background-color: #00ca4e;
}

.lowCodeCard .header {
  margin: 10px 5px;
  border-radius: 5px;
}

.lowCodeCard .header .codeTitle{
  width: 100%;
  text-align: right;
}

.lowCodeCard #title2 {
  color: white;
  padding-left: 50px;
  font-size: 15px;
}

.lowCodeCard .code-container {
  text-align: left;
  height: calc(100% - 45px);
  padding: 0px 5px;
}
.lowCodeCard #code {
  width: 100%;
  height: 100%;
  resize: none;
  background-color: rgb(73, 70, 92);
  border-radius: 5px;
  border: none;
  color: white;
  padding: 10px;
  overflow: auto;
}
.lowCodeCard #code:focus {
  outline: none !important;
}
 
/*
 * 顶部的上传按钮样式
*/
.cssButtons-io {
  position: relative;
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2px;
  border-radius: 0.2em;
  cursor: pointer;
  border: none;
  background: linear-gradient(to right, #8e2de2, #4a00e0);
  color: ghostwhite;
  overflow: hidden;
}

.w-100{
  width: 100%;
}

.cssButtons-io svg {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.5em;
}

.cssButtons-io span {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
  display: inline-flex;
  align-items: center;
  padding: 0.6em 1.2em 0.6em 1.05em;
}

.cssButtons-io::before,
.cssButtons-io::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cssButtons-io::before {
  content: "";
  background: #000;
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.cssButtons-io:hover::before {
  transform: translate3d(100%, 0, 0);
}

.cssButtons-io:active {
  transform: scale(0.95);
}


/*
 * 卡片logo的样式
*/
.vsCodeCard {
  /* padding: 1rem; */
  overflow: hidden;
  /* border: 1px solid #c5c5c5; */
  border-radius: 4px;
  background-color: #d9d9d92f;
  backdrop-filter: blur(8px);
  min-width: 344px;
}
.vsCodeCard .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 10;
  border: 0.5px solid #525252;
  border-radius: 4px;
  overflow: hidden;
}
.vsCodeCard .terminal {
  display: flex;
  flex-direction: column;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}
.vsCodeCard .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 40px;
  padding-inline: 12px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background-color: #202425;
}
.vsCodeCard .title {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 2.5rem;
  user-select: none;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8e8e8e;
}
.vsCodeCard .title > svg {
  height: 18px;
  width: 18px;
  margin-top: 2px;
  color: #006adc;
}
.vsCodeCard .copy_toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: 0.65px solid #c1c2c5;
  margin-left: auto;
  border-radius: 4px;
  background-color: #202425;
  color: #8e8e8e;
  cursor: pointer;
}
.vsCodeCard .copy_toggle > svg {
  width: 20px;
  height: 20px;
}
.vsCodeCard .copy_toggle:active > svg > path,
.vsCodeCard .copy_toggle:focus-within > svg > path {
  animation: clipboard-check 500ms linear forwards;
}
.vsCodeCard .body {
  display: flex;
  flex-direction: column;
  position: relative;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  overflow-x: auto;
  padding: 1rem;
  line-height: 19px;
  color: white;
  background-color: black;
  white-space: nowrap;
}
.vsCodeCard .pre {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-wrap: nowrap;
  white-space: pre;
  background-color: transparent;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 16px;
}
.vsCodeCard .pre code:nth-child(1) {
  color: #575757;
}
.vsCodeCard .pre code:nth-child(2) {
  color: #e34ba9;
}
.vsCodeCard .cmd {
  height: 19px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
}
.vsCodeCard .cmd::before {
  content: attr(data-cmd);
  position: relative;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  background-color: transparent;
  animation: inputs 8s steps(22) infinite;
}
.vsCodeCard .cmd::after {
  content: "";
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
  border-right: 0.15em solid #e34ba9;
  animation: cursor 0.5s step-end infinite alternate, blinking 0.5s infinite;
}

@keyframes blinking {
  20%,
  80% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0);
  }
}
@keyframes cursor {
  50% {
    border-right-color: transparent;
  }
}
@keyframes inputs {
  0%,
  100% {
    width: 0;
  }
  10%,
  90% {
    width: 58px;
  }
  30%,
  70% {
    width: 215px;
    max-width: max-content;
  }
}
@keyframes clipboard-check {
  100% {
    color: #fff;
    d: path(
      "M 9 5 H 7 a 2 2 0 0 0 -2 2 v 12 a 2 2 0 0 0 2 2 h 10 a 2 2 0 0 0 2 -2 V 7 a 2 2 0 0 0 -2 -2 h -2 M 9 5 a 2 2 0 0 0 2 2 h 2 a 2 2 0 0 0 2 -2 M 9 5 a 2 2 0 0 1 2 -2 h 2 a 2 2 0 0 1 2 2 m -6 9 l 2 2 l 4 -4"
    );
  }
}

/**
 * 滚动条样式
*/
/* 定义 CSS 变量 */
:root {
  --scrollbar-track: #f1f1f1;
  --scrollbar-thumb: #888;
  --scrollbar-thumb-hover: #555;
  --scrollbar-radius: 5px;
  --scrollbar-width: 8px;
}

/* WebKit 浏览器 */
::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: var(--scrollbar-radius);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: var(--scrollbar-radius);
  border: 3px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}